package money;

import junit.framework.TestCase;

public class Money extends TestCase {

private long value = 0;

	public Money(Money m) {
		this.value = m.getValue();
	}

	public Money(long value) {
		this.value = value;
	}

	public void setValue(long value) {
		this.value = value;
	}

	public long getValue() {
		return value;
	}

	

/*
	public static long changeToCurrency(long value, int accountNumber){
	
		Currency ccurrency = Currency.getInstance(new Locale(BankImpl.accountMap.get(accountNumber).getLanguage(), 
				BankImpl.accountMap.get(accountNumber).getCountry()));
		if(!ccurrency.getCurrencyCode().matches("EUR")){
			long exchangeValue = Currencies.CurrenciesValue.valueOf(ccurrency.getCurrencyCode()).getCurrenciesValue();
			value = ((value) * exchangeValue * 100) / 10000;
		}

*/
	

}
